package model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * sys_order(订单表对应的实体类)
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Long id;//订单id
    private Date ordertime;//订单时间
    private Long total;//数量
    private Long uid;//用户id
    private  User user;
}
